const path = require('path');
const webpack = require('webpack');
const CopyWebpackPlugin = require('copy-webpack-plugin');



module.exports = {
	configureWebpack: {
		amd: {
			toUrlUndefined: true
		},
		plugins: [
			new CopyWebpackPlugin([
				{
					from: './node_modules/wecesium/Build/CesiumUnminified', // 调试时，将Cesium换成CesiumUnminified
					to: 'lib/Cesium',
					toType: 'dir'
				}
			])
		]
	}

}
